
package com.ami.iusb.protocol;

import com.ami.iusb.RedirProtocolException;
import java.nio.ByteBuffer;

public abstract class RedirHeader {
	protected int headerLen;
	protected int command;
	protected long dataLen;
	protected int status;
	protected int serverID;
	protected int serverVer;

	public abstract void write(ByteBuffer paramByteBuffer);

	public abstract void read(ByteBuffer paramByteBuffer) throws RedirProtocolException;
}
